home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AOCE Sample Code / PowerTalk Access Modules / Sample CSAM / Sources / SKEL•CSAM.R < prev    next >
Encoding:
Text File  |  1995-07-28  |  5.1 KB  |  133 lines  |  [TEXT/MPS ]

  1. /* ==========================================================================
  2.     Resources  for the LDAP DSAM.
  3.  
  4.     Written by: Gavin Eadie • The University of Michigan Information Systems
  5.           Phone: (313) 936-0816
  6.      AppleLink: A67
  7.       Internet: gavin@umich.edu
  8.          
  9.         History:    Apr18/91    1.0d1        Start
  10.                     Sep09/92    1.0a3        Dixie --> LDAP changes ... (Gav)
  11.                     Oct10/92    1.0a4        include OCETemplates.r and get ready for the
  12.                                             definition of the LDAP templates... (Gav)
  13.                     Oct13/92    1.0a5        increase 'sysz' to 32k, but we don't know
  14.                                             if this makes any difference ... (Gav)
  15.                     Oct14/92                start to add template resources ... (Gav)
  16.                     Oct26/92    1.0a6        First template working ... Gav
  17.                     Nov25/92    1.0a7        More template stuff ... Gav
  18.                     Dec08/92    1.0a8        Config template start ... Gav
  19.                     Dec17/92    1.0a9        Change 'dett' tags to match ldap's ... Gav
  20.                     Jan04/93    1.0a10    First try with AOCE a13 ... Gav
  21.                     Jan10/93    1.0a11    AOCE kitchen work at Apple ... Gav
  22.                     Jan13/93    1.0a12    first success with a13! ... Gav
  23.                     Jan27/93    1.0a14    revisions for AOCE 1.0a14 ... Gav
  24.                     Feb11/93    1.0a15    correction to 'vers' resource format ... Gav
  25.                     Mar10/93    1.0a16    add Finder ballon help resource ... Gav
  26.                     Mar16/93 1.0a17    revisions for AOCE 1.0b1 ... Gav
  27.                     Mar22/93 1.0a18    Sort LDAP infopage to the end ... Gav
  28.                     Apr21/93 1.0a20    change record type to 'ldapUser' ... Gav
  29.                     May11/93 1.0a22    change visibles from 'ldap' to X.500' ... Gav
  30.                     Jun01/93 1.0a23    remove «displayName» from pSect ... Gav
  31.                     Jun07/93 1.0a24    revise to AOCE 1.0b3 headers ... Gav
  32.                     Jun14/93 1.0a25    revise to AOCE 1.0b4 headers ... Gav
  33.                     Jun24/93 1.0a28    ++    add 'ldap Group' resources
  34.                                             ++ aoce record type from interpretation
  35.                                                 of the ldap objectClass
  36.                                             ++    new user/group icons (from InfoDisk!)
  37.                     Jun28/93 1.0a30    add 'ldap Other' resources ... Gav
  38.                     Jul01/93 1.0a31    revise for AOCE 1.0b6 ... Gav
  39.                     Jul16/93 1.0a34    ++ remove ß1 ifdef's
  40.                                             ++    remove "Find" flag for now ... Gav
  41.                     Jul20/93 1.0a35    add Forwarder for Drop-Send ... Gav
  42.                     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  43.                     Jul26/93 1.0b1        "Find" works ... Gav
  44.                     Aug04/93 1.0b2        Problems in the 'detc' causing crashes
  45.                                             on closing the setup infoPage fixed ... Gav
  46.                     Aug04/93 1.0b3        ... not quite, now fixed ... Gav
  47.                     Aug10/93 1.0b4        'Log_' replaced by 'Audit_' ... Gav
  48.                     Aug10/93 1.0b5        ++    sublist templates for groups better
  49.                                             ++    parz_util passes aliases to sublist
  50.                     Aug12/93 1.0b6        memory leak in 'realloc' fixed ... Gav
  51.                     Aug16/93 1.0b7        ++    memory leak in Parz_Util fixed
  52.                                             ++ alias in subList fixed
  53.                     Aug19/93 1.0b8        changes for setup config popUp ... Gav
  54.                     Sep06/93 1.0b10    ++    correct subList drag-out
  55.                                                 (multi-valued attributes)
  56.                                             ++    correct path reversal ... Gav
  57.                     Sep10/93 1.0b11    setup configuration better ... Gav
  58.                     Sep14/93 1.0b12    setup configuration better still ... Gav
  59.                     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  60.                     Oct04/93 1.0b13    build with final headers ... Gav
  61.                     Oct18/93 1.0b14    build with ldap 3.0b5 ... Gav
  62.                     Oct20/93 1.0b15    a second correction to path reversal ... Gav
  63.                     Oct28/93 1.0b16    add emailAddr and emailNote to template ... Gav
  64.                     Nov22/93    1.0b17    ++ build with ldap 3.0 final
  65.                                              ++    remove "New User/Group" from the Finder
  66.                                                 Catalog menu since X.500 is read-only
  67.                                             ++    Process rfc822 addresses to mailslots
  68.                     Nov22/93    1.0b18    fix bug with embedded "," in Path[Index]
  69.                     Dec13/93    1.0b19    ++    more embedded "," in Path[Index]
  70.                                             ++    sizeLimit set to zero for default (100)
  71.                     Dec22/93    1.0b20    fix the folder alias resolution ...
  72.                     Jan19/94    1.0b21    ... it took this long to find it ... Gav
  73.                     Feb01/94    1.0b22    build with universal headers for PPC ... Gav
  74.                     Feb08/94    1.0b23    assorted changes for Power Macintosh ... Gav
  75.                     Feb14/94    1.0b24    more changes for Power Macintosh ... Gav
  76.  
  77.     ==========================================================================    */
  78.  
  79. #include "Types.r"                                            // get 'STR ' type
  80. #include "SysTypes.r"                                        // get 'vers' type
  81. #include "OCE.r"
  82.  
  83. //    #define typeRString            'rstr'
  84. //    #define typePackedDSSpec    'dspc'
  85. //    #define typeBinary            'bnry'
  86.  
  87. #define ldapBase 1000
  88.  
  89. include "::sources:SKEL•CSAM.BNDL" not 'ckid';        // get 'BNDL' resources
  90.  
  91. #define VERSION "1.0b24"
  92.  
  93. resource 'vers' (1, "SKEL•CSAM", purgeable) {
  94.     0x1, 0x0, beta, 0x24,
  95.     verUS,
  96.     VERSION,
  97.     FILENAME " " VERSION
  98.     "\nGavin Eadie [Feb15/94]"
  99. };
  100.  
  101. resource 'vers' (2, "SKEL•CSAM", purgeable) {
  102.     0x1, 0x0, final, 0x0,
  103.     verUS,
  104.     "1.0",
  105.     "PowerTalk (1.0)"
  106. };
  107.  
  108. data 'sysz' (0, "32K") {
  109.     $"00 00 80 00"
  110. };
  111.  
  112. include "::objects:SKEL•CSAM.DRVR" not 'ckid';
  113.  
  114. resource 'STR ' (ldapBase, "DashName", purgeable) {
  115.     "." FILENAME
  116. };
  117.  
  118. resource 'rstr' (ldapBase, "Display Name", sysheap, preload) {
  119.     FILENAME
  120. };
  121.  
  122. #define ldapSetupAspectID ldapBase+(kDETIDSep*4)
  123. #define ldapSetupInfoPageID ldapBase+(kDETIDSep*5)
  124. #include "::sources:SKEL•CSAM_SetUp.R"
  125. #undef ldapSetupAspectID
  126. #undef ldapSetupInfoPageID
  127.  
  128. #define ldapOtherAspectID ldapBase+(kDETIDSep*16)
  129. #define ldapOtherInfoPageID ldapBase+(kDETIDSep*17)
  130. #include "::sources:SKEL•CSAM_Other.R"
  131. #undef ldapOtherAspectID
  132. #undef ldapOtherInfoPageID
  133.